package com.iss.yunpan.service;


import com.iss.yunpan.entity.FileContent;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;


public interface FileService {
    List<FileContent> getAllFile(String fileName);

    boolean checkFileContent(String fileName, Integer parentId);

    void insertFolder(String fileName, Integer parentId);

    void uploadFile(String fileName, InputStream input, String parentId) throws IOException;

    // List<FileContent> getAllFile(String id, String parentId);
}
